from __future__ import absolute_import, print_function

from sentry import analytics


class SentryAppInstallationTokenCreated(analytics.Event):
    type = 'sentry_app_installation_token.created'

    attributes = (
        analytics.Attribute('user_id'),
        analytics.Attribute('organization_id'),
        analytics.Attribute('sentry_app_installation_id'),
        analytics.Attribute('sentry_app'),
    )


analytics.register(SentryAppInstallationTokenCreated)
